﻿using InfonavaEye.model;
using InfonavaEye.model.wjapi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InfonavaEye.Service
{
    public  interface IReportService
    {
        /// <summary>
        /// 过滤这个服务，满足条件的才可以使用这个服务
        /// </summary>
        /// <param name="upperCode">上位机编码</param>
        /// <returns></returns>
        bool filter(string upperCode);

        /// <summary>
        /// 上报钉盒扫描识别结果
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        void Report(ReportDTO data);
        /// <summary>
        /// 调用服务器找单核验
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        CheckResult checkOrder<CheckResult>(ReportDTO dto, String orderNumber);

        Boolean submitCheckReceiptResult(SubmitCheckDataDTO dataDTO);

        List<OrderListRespDto> pullOrderList(string orderType);

        StorageConfig getAliyunOSSConfig();
        Boolean sendStraightReq(StraightenReqParams dataDTO);
        List<OCRServerResult> queryOCRResult(string captureOptSN);

        bool cleanOCRResult(string captureOptSN);
    }
}
